<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>注册</title>

    <!-- Bootstrap -->
    <link href="__PUBLIC__/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">


    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->

</head>
<body>

<div class="container">

    <h1 style="text-align: center"> 管理员注册</h1>

    <hr/>
    <div class="row">
        <form class="form-horizontal" action="__SELF__" method="post">
            <div class="form-group">
                <label for="name" class="col-sm-3 control-label">用户名:</label>
                <div class="col-sm-7">
                    <input type="text" class="form-control" name="username" id="name" placeholder="输入用户名">
                </div>
            </div>
            <div class="form-group">
                <label for="password" class="col-sm-3 control-label">用户密码:</label>
                <div class="col-sm-7">
                    <input type="password" class="form-control" name="password" id="password" placeholder="输入用户密码">
                </div>
            </div>
            <div class="form-group">
                <label for="check_password" class="col-sm-3 control-label">确认用户密码:</label>
                <div class="col-sm-7">
                    <input type="password" class="form-control" name="check_password" id="check_password"  placeholder="确认用户密码">
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-offset-6 ">
                    <button type="submit" class="btn btn-primary">注册</button>
                </div>
            </div>
        </form>

        <a href="{{:U('login')}}"> 已有账号，立即登陆 </a>
    </div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="__PUBLIC__/vendor/js/jquery-3.2.0.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="__PUBLIC__/vendor/bootstrap/js/bootstrap.min.js"></script>
</body>
</html>